<template>
  <div class="ZkManage wrap-table">
    <el-tabs v-model="activeName">
      <el-tab-pane label="访谈人员" name="1" :lazy="true" v-if="RoleGroup<12">
        <follow-people ></follow-people>
      </el-tab-pane>
      <el-tab-pane label="质控记录" name="2" :lazy="true">
        <follow-record  :index="activeName"  :partInfo="data"></follow-record>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import followPeople from './followPeople'
import followRecord from './followRecord'
import { mapGetters } from "vuex";
export default {
  data() {
    return {
      activeName: "1",
      data:null
    };
  },
  computed: {
    ...mapGetters(["userIcon", "userId", "token", "RoleGroup", "UserDic"]),
  },
  components: {
    followPeople,
    followRecord
  },
  mounted() {
    if(!(this.RoleGroup<12)){
      this.activeName = '2'
    }
  },
  methods: {}
};
</script>
<style>
</style>
